
import layout from '@/views/gameModel/module/Layout'
export default [
  {
    path: '/gameModel',
    name: 'gameModel',
    component: () => import('@/views/gameModel/lis'),
    affiliation: 'main',
    meta: { title: '模型管理', icon: 'icon5', name: 'gameModel' },
  },
  {
    path: '/gameModel/detail',
    name: 'modeldetail',
    component: () => import('@/views/gameModel/detail'),
    // affiliation: 'main',
    meta: { title: '创建模型', icon: 'icon5', name: 'gameModel' },
  },

  {
    path: '/gameModel',
    name: 'gameModel',
    component: layout,
    // affiliation: 'main1',
    meta: { title: '模型管理', icon: 'icon1', name: 'gameModel' },
    children: [
      {
        path: 'code',
        name: 'modelcode',
        component: () => import('@/views/gameModel/code'),
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "gameModel"
        }
      },
      {
        path: 'file',
        name: 'modelfile',
        component: () => import('@/views/gameModel/file'),
        meta: {
          title: '文件',
          icon: 'nav-menu-icon1',
          affiliation: "gameModel"
        }
      }
    ]
  },
]
